package com.fsy.mapper;

import com.fsy.entities.Book;
import com.fsy.entities.Computer;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 凡凡
* @description 针对表【computer】的数据库操作Mapper
* @createDate 2022-03-15 10:25:14
* @Entity com.fsy.entities.Computer
*/
@Mapper
public interface ComputerMapper extends BaseMapper<Computer> {

    /**
     * 查询全部电脑
     * @param computer
     * @return
     */
    public List<Computer> findByComputer(Computer computer);

    /**
     * 查询全部电脑条数
     * @param computer
     * @return
     */
    public int selectComputerCounts(Computer computer);
}




